dreamweaver.behaviorInspector.moveBehaviorUp()

Availability 3.0
Description Moves a behavior higher in sequence by changing its execution order within the scope of an event.
Arguments positionIndex
The argument is the position of the action in the Behavior inspector. The first action in the list is at position 0.
Returns Nothing.
Enabler None.
Example Assuming the Behavior inspector setup shown in this example, calling dw.behaviorInspector.moveBehaviorUp(3) would swap the positions of the Custom Script and the Change Property actions on the onMouseOver event. Calling dw.behaviorInspector.moveBehaviorUp() for any other position would have no effect because the onClick and onMouseOut events each have only one behavior associated with them, and the behavior at position 2 is already at the top of the onMouseOver group.